#ifndef CHESSBOARD_H
#define CHESSBOARD_H

#include"node.h"
#include<vector>

class ChessBoard
{
public:
  ChessBoard();
        ~ChessBoard();
        //友元类
        friend class Judge;
        friend class Gamer;
        //获取棋盘
        const std::vector<std::vector<Node>> getBoard(){return block;};
private:
	//棋盘
	std::vector<std::vector<Node>> block;
	//棋子计数
	int count;
};

#endif // CHESSBOARD_H
